//
//  LoginModel.m
//  OA项目
//
//  Created by innofive on 2018/5/21.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "LoginModel.h"

@implementation LoginModel
+ (NSDictionary *)mj_objectClassInArray{
    return @{@"role":[userModel class]};
}

+(void)param:(id)param
successBlock:(successBlock)successBlcok
  falieBlock:(failedBlock)failedBlcok
  errorBlock:(errorBlock)errorBlcok
{
    //apiLogin
  
    
//    [ENGINE POST:@"/oa/v1.0/notificationModule/ntSubMd/notifications" param:nil parseClass:[LoginModel class] successBlock:successBlcok falieBlock:failedBlcok errorBlock:errorBlcok];
    
//    [ENGINE POST:@"/oa/v1.0/notificationModule/ntSubMd/notifications/unReadNotis" param:nil parseClass:[LoginModel class] successBlock:successBlcok falieBlock:failedBlcok errorBlock:errorBlcok];
    
//    [ENGINE POST:@"/oa/v1.0/addressBook/contactsSearch" param:@{@"pageNum":@1,
//                                                                @"pageSize":@"10",
//                                                                @"q":@""
//                                                                } parseClass:[LoginModel class] successBlock:successBlcok falieBlock:failedBlcok errorBlock:errorBlcok];
    

    [ENGINE POST:apiLogin param:@{
                                  @"userId":@"admin",
                                  @"password":@"123456"

                                  } parseClass:[NSString class] successBlock:successBlcok falieBlock:failedBlcok errorBlock:errorBlcok];
    
    
    
}

+(void)param1:(id)param
successBlock:(successBlock)successBlcok
  falieBlock:(failedBlock)failedBlcok
  errorBlock:(errorBlock)errorBlcok
{
  
}

@end



@implementation userModel

@end
